package cn.hs.service;

import cn.hs.entity.Reply;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ReplyService {
    //查询所有并分页与模糊查询
    public PageInfo<Reply> selectAll(Integer pageNum,Integer pageSize,Reply reply);
    //增加
    public int insert(Reply reply);
    //修改
    public int update(Reply reply);
    //删除
    public int delete(Integer id);
    //光查询所有
    public List<Reply> select(Reply reply);
//    //根据id查询
    public Reply selectById(Integer id);
}
